package com.wmh.baseservice.merchant.service;

import com.wmh.baseservice.common.mybatisplus.methods.CommonService;
import com.wmh.baseservice.merchant.pojo.MerchantInfo;
import com.wmh.baseservice.merchant.pojo.MerchantVegetable;
import com.wmh.baseservice.merchant.pojo.MerchantVegetablePlot;


/**
 * @author wmh generator
 * @since 2021-12-24
 */
public interface MerchantInfoService extends CommonService<MerchantInfo> {

    String authority(String account, String password);

    /**
     * 商家缴纳保证金
     */
    void marginPay(Long merchantId);

    /**
     * 查询当前商家土地状态
     */
    MerchantVegetablePlot queryPlotStatus(Long id);
}
